package com.ruoyi.server.api.memberTypeManagement.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

/**
 * 会员类型对象 member_type_management
 *
 * @author ruoyi
 * @date 2024-06-10
 */
public class MemberTypeManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员类类型主键id（王世宇） */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /** 门户标识 */
    @Excel(name = "门户标识")
    private String venueUniqueIdentifier;

    /** 会员类型(0次卡 1月卡 2年卡 3体验卡) */
    @Excel(name = "会员类型(0次卡 1月卡 2年卡 3体验卡)")
    private Integer memberType;

    /** 卡的天数 */
    @Excel(name = "卡的天数")
    private Long cardDays;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String memberTypeName;

    /** 会员备注 */
    @Excel(name = "会员备注")
    private String memberTypeRemarks;

    /** 启用状态（0启用，1禁用） */
    @Excel(name = "启用状态", readConverterExp = "0=启用，1禁用")
    private Long enableStatus;

    /** 删除标识（0显示，1删除） */
    @TableLogic
    private Long delFlag;
    /** 会员卡的类别（游泳卡，瑜伽卡，健身卡等） */
    @NotNull(message = "会员卡类别不能为空")
    @Excel(name = "会员卡的类别", readConverterExp = "游=泳卡，瑜伽卡，健身卡等")
    private Long categoryId;
    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setVenueUniqueIdentifier(String venueUniqueIdentifier)
    {
        this.venueUniqueIdentifier = venueUniqueIdentifier;
    }

    public String getVenueUniqueIdentifier()
    {
        return venueUniqueIdentifier;
    }
    public void setMemberType(Integer memberType)
    {
        this.memberType = memberType;
    }

    public Integer getMemberType()
    {
        return memberType;
    }
    public void setCardDays(Long cardDays)
    {
        this.cardDays = cardDays;
    }

    public Long getCardDays()
    {
        return cardDays;
    }
    public void setMemberTypeName(String memberTypeName)
    {
        this.memberTypeName = memberTypeName;
    }

    public String getMemberTypeName()
    {
        return memberTypeName;
    }
    public void setMemberTypeRemarks(String memberTypeRemarks)
    {
        this.memberTypeRemarks = memberTypeRemarks;
    }

    public String getMemberTypeRemarks()
    {
        return memberTypeRemarks;
    }
    public void setEnableStatus(Long enableStatus)
    {
        this.enableStatus = enableStatus;
    }

    public Long getEnableStatus()
    {
        return enableStatus;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("venueUniqueIdentifier", getVenueUniqueIdentifier())
                .append("memberType", getMemberType())
                .append("cardDays", getCardDays())
                .append("memberTypeName", getMemberTypeName())
                .append("memberTypeRemarks", getMemberTypeRemarks())
                .append("enableStatus", getEnableStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("categoryId", getCategoryId())
                .toString();
    }
}
